<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilplmi: xplmi_sysmon.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilplmi
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xplmi__sysmon_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xplmi_sysmon.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This is the file which contains SysMon manager code. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
</p>
<hr/>
<p>
1.00  sn   07/01/2019 Initial release
      sn   07/04/2019 Enabled SysMon's over-temperature interrupt
      sn   08/03/2019 Added code to wait until over-temperature condition
                      gets resolved before restart
1.01  bsv  04/04/2020 Code clean up
1.02  bm   10/14/2020 Code clean up
      td   10/19/2020 MISRA C Fixes
1.03  bm   02/08/2021 Add GetSysmonPsv API
1.04  td   07/08/2021 Fix doxygen warnings
      rb   08/11/2021 Fix compilation warnings
      is   01/10/2022 Updated XPlmi_SysMonOTDetect to wait additional time
                      after OT event clears up
      is   01/10/2022 Updated Copyright Year to 2022
      ma   01/17/2022 Enable SLVERR for Sysmon
      ma   03/01/2022 Write PCSR MASK register before enabling SLVERR
1.05  skd  04/21/2022 Misra-C violation Rule 8.7 fixed
      bsv  07/20/2022 Removed magic number usage
      bm   07/24/2022 Set PlmLiveStatus during boot time
1.07  ng   11/11/2022 Updated doxygen comments
      dd   03/28/2023 Updated doxygen comments
1.08  rama 08/10/2023 Changed OT print to DEBUG_ALWAYS for
                      debug level_0 option
      mss  03/13/2024 MISRA-C violatiom Rule 17.8 fixed</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga39aa1c35cce0109151c7fc2216f718bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga39aa1c35cce0109151c7fc2216f718bd">XPLMI_SYSMON_SAT0_PCSR_MASK_OFFSET</a>&#160;&#160;&#160;(0x10000U)</td></tr>
<tr class="memdesc:ga39aa1c35cce0109151c7fc2216f718bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">SAT0 PCSR mask offset.  <a href="group__xilplmi__server__apis.html#ga39aa1c35cce0109151c7fc2216f718bd">More...</a><br/></td></tr>
<tr class="separator:ga39aa1c35cce0109151c7fc2216f718bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e97a29bd54dd37e86f69ea20057e2e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga3e97a29bd54dd37e86f69ea20057e2e2">XPLMI_SYSMON_SAT1_PCSR_MASK_OFFSET</a>&#160;&#160;&#160;(0x20000U)</td></tr>
<tr class="memdesc:ga3e97a29bd54dd37e86f69ea20057e2e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">SAT1 PCSR mask offset.  <a href="group__xilplmi__server__apis.html#ga3e97a29bd54dd37e86f69ea20057e2e2">More...</a><br/></td></tr>
<tr class="separator:ga3e97a29bd54dd37e86f69ea20057e2e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b5106ad511f759370c3988b4fc89019"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga2b5106ad511f759370c3988b4fc89019">XPLMI_SYSMON_PCSR_CTRL_SLVERREN_MASK</a>&#160;&#160;&#160;(0x80000U)</td></tr>
<tr class="memdesc:ga2b5106ad511f759370c3988b4fc89019"><td class="mdescLeft">&#160;</td><td class="mdescRight">PCSR control slave error enable mask.  <a href="group__xilplmi__server__apis.html#ga2b5106ad511f759370c3988b4fc89019">More...</a><br/></td></tr>
<tr class="separator:ga2b5106ad511f759370c3988b4fc89019"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga5dcd8914dd53d7f531efec97aadde7af"><td class="memItemLeft" align="right" valign="top">XSysMonPsv *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga5dcd8914dd53d7f531efec97aadde7af">XPlmi_GetSysmonInst</a> (void)</td></tr>
<tr class="memdesc:ga5dcd8914dd53d7f531efec97aadde7af"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides address of Sysmon Instance.  <a href="group__xilplmi__server__apis.html#ga5dcd8914dd53d7f531efec97aadde7af">More...</a><br/></td></tr>
<tr class="separator:ga5dcd8914dd53d7f531efec97aadde7af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7005f232679e61ea2232d46ef9897b8a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga7005f232679e61ea2232d46ef9897b8a">XPlmi_SysMonInit</a> (void)</td></tr>
<tr class="memdesc:ga7005f232679e61ea2232d46ef9897b8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the SysMon.  <a href="group__xilplmi__server__apis.html#ga7005f232679e61ea2232d46ef9897b8a">More...</a><br/></td></tr>
<tr class="separator:ga7005f232679e61ea2232d46ef9897b8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2381d59a5154e7ef73fa658045a3c825"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga2381d59a5154e7ef73fa658045a3c825">XPlmi_SysMonOTDetect</a> (u32 WaitInMSecVal)</td></tr>
<tr class="memdesc:ga2381d59a5154e7ef73fa658045a3c825"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function detects if we are still in over-temperature condition.  <a href="group__xilplmi__server__apis.html#ga2381d59a5154e7ef73fa658045a3c825">More...</a><br/></td></tr>
<tr class="separator:ga2381d59a5154e7ef73fa658045a3c825"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
